package com.yxw.live_vod_boot.dto.follow;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ToString
public class FollowAddDTO implements Serializable {

    @ApiModelProperty(value = "关注者类型 0=店铺 1=用户 2=其他", required = true)
    @NotNull(message = "关注者类型不能为空!")
    private Integer followerType;

    @ApiModelProperty("关注者的店铺ID,店铺关注别人的时候必传")
    private Long followerShopId;

    @ApiModelProperty(value = "被关注用户ID")
    private Long followeeId;

    @ApiModelProperty("被关注者名称")
    private String followeeName;

    @ApiModelProperty(value = "被关注者类型 0=店铺 1=用户 2=其他", required = true)
    @NotNull(message = "被关注者类型不能为空!")
    private Integer followeeType;

    @ApiModelProperty("被关注的店铺ID 被关注者类型为0=店铺时必填")
    private Long followeeShopId;

    @ApiModelProperty("被关注的店铺名称 被关注者类型为0=店铺时必填")
    private String followeeShopName;

    @ApiModelProperty(value = "关注场景，0:点播 1:直播 2:主页 3:其他", required = true)
    @NotNull(message = "关注场景不能为空!")
    private Integer followScene;

    @ApiModelProperty("关注场景为直播时 必传")
    private String liveId;
}
